package com.sdweizan.sdk.bytedance.bean.withdraw;

import com.alibaba.fastjson.annotation.JSONField;
import com.sdweizan.sdk.bytedance.bean.BdBaseRequest;
import com.sdweizan.sdk.bytedance.constants.BdConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BdQueryMerchantBalanceRequest implements BdBaseRequest {

  @JSONField(name = "thirdparty_id")
  private String thirdpartyId;

  @JSONField(name = "app_id")
  private String appId;

  @JSONField(name = "merchant_uid")
  private String merchantUid;

  @JSONField(name = "channel_type")
  private String channelType;
  // 抖音信息和光合信号主体标识:
  // 不传或传0或1 查抖音信息余额；传2查光合信号余额。
  @JSONField(name = "merchant_entity")
  private Integer merchantEntity;

  @JSONField(name = "sign")
  private String sign;

  @Override
  public String requestUri() {
    return BdConstants.API_HOST + "/api/apps/ecpay/saas/query_merchant_balance";
  }
}
